package utils;



import java.io.Serializable;
import java.util.HashMap;

public class World implements Serializable {

	private HashMap<Integer, Room> _rooms = new HashMap<Integer,Room>();
	
	public World() {
	}
	
	public Room getRoom(int id){
		return _rooms.get(id);
	}
	
	public void setRooms(int id, Room r){
		_rooms.put(id, r);
	}
	
}